﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Text;

namespace CSC.FSVTracker.WebUI.HtmlHelpers
{
    public static class MenuHelper
    {
        public static MvcHtmlString PageLinks(this HtmlHelper html, Func<string, string> pageUrl)
        {
            StringBuilder result = new StringBuilder();
            TagBuilder tag = new TagBuilder("a");
            //tag.MergeAttribute("href", pageUrl(i));
            //tag.InnerHtml = i.ToString();
            result.Append(tag.ToString());

            return MvcHtmlString.Create(result.ToString());
        }
    }
}